home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 2.2 KB | 90 lines | [TEXT/MPS ] |
- ;
- ; File: TSMTE.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__TSMTE__') = 'UNDEFINED' THEN
- __TSMTE__ SET 1
-
-
- IF &TYPE('__TEXTEDIT__') = 'UNDEFINED' THEN
- include 'TextEdit.a'
- ENDIF
- ; include 'Quickdraw.a' ;
- ; include 'Types.a' ;
- ; include 'ConditionalMacros.a' ;
- ; include 'MixedMode.a' ;
- ; include 'QuickdrawText.a' ;
-
- IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
- include 'Dialogs.a'
- ENDIF
- ; include 'Errors.a' ;
- ; include 'Memory.a' ;
- ; include 'Windows.a' ;
- ; include 'Events.a' ;
- ; include 'OSUtils.a' ;
- ; include 'Controls.a' ;
- ; include 'Menus.a' ;
-
- IF &TYPE('__APPLEEVENTS__') = 'UNDEFINED' THEN
- include 'AppleEvents.a'
- ENDIF
- ; include 'EPPC.a' ;
- ; include 'PPCToolbox.a' ;
- ; include 'AppleTalk.a' ;
- ; include 'Processes.a' ;
- ; include 'Files.a' ;
- ; include 'Notification.a' ;
-
- IF &TYPE('__TEXTSERVICES__') = 'UNDEFINED' THEN
- include 'TextServices.a'
- ENDIF
- ; include 'Components.a' ;
-
- kTSMTESignature EQU 'tmTE'
- kTSMTEInterfaceType EQU kTSMTESignature
- kTSMTEDialog EQU 'tmDI'
-
- ; Gestalt
- gestaltTSMTEAttr EQU kTSMTESignature
- gestaltTSMTEPresent EQU 0
- gestaltTSMTE EQU 0 ; gestaltTSMTE is old name for gestaltTSMTEPresent
-
- gestaltTSMTEVersion EQU 'tmTV'
- gestaltTSMTE1 EQU $100
-
- ; update flag for TSMTERec
- kTSMTEAutoScroll EQU 1
-
- ; callback procedure definitions
- TSMTERec RECORD 0
- textH ds.l 1
- preUpdateProc ds.l 1
- postUpdateProc ds.l 1
- updateFlag ds.l 1
- refCon ds.l 1
- sizeof EQU 20
- ENDR
-
- TSMDialogRecord RECORD 0
- fDialog ds DialogRecord
- fDocID ds.l 1
- fTSMTERecH ds.l 1
- fTSMTERsvd ds.l 3 ; reserved
- sizeof EQU 190
- ENDR
-
- ENDIF ; __TSMTE__
-